CameraZoom

interface CameraZoom

Scoping class for camera zoom.

Provides access to the camera zoom in order to get its properties and change the zoom level.

Types

Link copied to clipboard
Way of controlling the gimbal.

Functions

Link copied to clipboard
abstract fun control(@NonNull mode: CameraZoom.ControlMode, target: Double)
Controls the zoom.
Link copied to clipboard
abstract fun getCurrentLevel(): Double
Gets the current zoom level, in focal length factor.
Link copied to clipboard
abstract fun getMaxLossLessLevel(): Double
Gets the maximum zoom level to keep image quality at its best.
Link copied to clipboard
abstract fun getMaxLossyLevel(): Double
Gets the maximum zoom level available on the device.
Link copied to clipboard
abstract fun isAvailable(): Boolean
Tells whether zoom is available.
Link copied to clipboard
Gives access to the maximum zoom speed setting, in tan(deg)/second.
Link copied to clipboard
abstract fun resetLevel()
Resets zoom to default level immediately.
Link copied to clipboard
Gives access to the zoom velocity quality degradation allowance setting.